package com.mall.goods.model.entity;

import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

@Setter
@Getter
@ApiModel("商品规格表")
public class GoodsSpecsEntity extends BaseEntity
{

    /** 商品表主键id */
    private Long id;

    /** 商品名 */
    @Excel(name = "商品名")
    private String specsName;

    /** 商品原价 */
    @Excel(name = "商品原价")
    private BigDecimal specsOriginPrice;

    /** 商品售价 */
    @Excel(name = "商品售价")
    private BigDecimal specsPrice;

    /** 商品库存数量 */
    @Excel(name = "商品库存数量")
    private Long specsStockNum;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;
}
